<?php


namespace app\pc\service\base;


use app\admin\model\base\Special;
use app\admin\model\base\StudentPaper;
use app\BaseController;
use think\response\Json;

class SpecialService extends BaseController
{
    /**
     * 专业列表
     * @param array $params
     * @return Json
     */
    public function index(array $params = []): Json
    {
        $list = Special::where(['is_del'=>0])->order('sort','desc')->field('name,sort,id')->select()->toArray();
        return jsonReturn(1, $list);
    }
}